﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
using EF.Model;
using EF.Model.Base;
using EF.Util;
using EF.Util.DBUtility;

public partial class Trans_Template : BasePage
{

    int userId = 0; //用户Id
    string role = ""; //角色
    string lang = ""; //语言

    protected void Page_Load(object sender, EventArgs e)
    {
        CheckSession();

        userId = Convert.ToInt32(Session["uid"].ToString()); //用户Id
        role = Session["role"].ToString(); //角色
        lang = Session["lang"].ToString(); //语言

        Response.Clear();

        switch (Request["action"].ToString().ToLower())
        {
            case "export": //导出
                Export();
                break;
            default:
                break;
        }

        Response.End();
    }

    private void Export()
    {
        try
        {

        }
        catch (Exception ex)
        {
            Log.WriteLog(ex);
            Response.Write(GetErrorJson());
        }
    }
}
